package com.chry.ocr.common;


import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.redis.connection.jedis.JedisConnectionFactory;

import com.chry.ocr.redis.RedisCache;
/*
 * jedisConnectionFactory的静态注入，使MyBatis实现第三方缓存
 */
public class RedisCacheTransfer {
	@Autowired
	public void setJedisConnectionFactory(JedisConnectionFactory jedisConnectionFactory){
		RedisCache.setJedisConnectionFactory(jedisConnectionFactory);
	}
}
